//
// Created by iguilty on 2022-01-12.
//

#ifndef DESIGN_PATTERN_CPP_SINGLETON_H
#define DESIGN_PATTERN_CPP_SINGLETON_H

#include <iostream>
using namespace std;

class Singleton {
public:
    static Singleton* Instance();

protected:
    Singleton();

private:
    static Singleton* _instance;
};


#endif //DESIGN_PATTERN_CPP_SINGLETON_H
